<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVCoreWebView2CompositionController: Class TCoreWebView2CompositionController</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCoreWebView2CompositionController"></span><h1 class="cio">Class TCoreWebView2CompositionController</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVCoreWebView2CompositionController.html">uWVCoreWebView2CompositionController</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCoreWebView2CompositionController = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
 This interface is an extension of the ICoreWebView2Controller interface to support visual hosting. An object implementing the ICoreWebView2CompositionController interface will also implement ICoreWebView2Controller. Callers are expected to use ICoreWebView2Controller for resizing, visibility, focus, and so on, and then use ICoreWebView2CompositionController to connect to a composition tree and provide input meant for the WebView. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller</a>&quot;&gt;See the ICoreWebView2CompositionController article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TCoreWebView2CompositionController</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FBaseIntf">FBaseIntf</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController.html">ICoreWebView2CompositionController</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FBaseIntf2">FBaseIntf2</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController2.html">ICoreWebView2CompositionController2</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FBaseIntf3">FBaseIntf3</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController3.html">ICoreWebView2CompositionController3</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FBaseIntf4">FBaseIntf4</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController4.html">ICoreWebView2CompositionController4</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FCursorChangedToken">FCursorChangedToken</a></strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FNonClientRegionChanged">FNonClientRegionChanged</a></strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetInitialized">GetInitialized</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetRootVisualTarget">GetRootVisualTarget</a></strong>: IUnknown;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetCursor">GetCursor</a></strong>: HCURSOR;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetSystemCursorID">GetSystemCursorID</a></strong>: cardinal;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetAutomationProvider">GetAutomationProvider</a></strong>: IUnknown;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#SetRootVisualTarget-IUnknown-">SetRootVisualTarget</a></strong>(const aValue : IUnknown);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#InitializeFields">InitializeFields</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#InitializeTokens">InitializeTokens</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#RemoveAllEvents">RemoveAllEvents</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#AddCursorChangedEvent-TComponent-">AddCursorChangedEvent</a></strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#AddNonClientRegionChangedEvent-TComponent-">AddNonClientRegionChangedEvent</a></strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#Create-ICoreWebView2CompositionController-">Create</a></strong>(const aBaseIntf : <a href="uWVTypeLibrary.ICoreWebView2CompositionController.html">ICoreWebView2CompositionController</a>); reintroduce;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#AddAllBrowserEvents-TComponent-">AddAllBrowserEvents</a></strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#SendMouseInput-TWVMouseEventKind-TWVMouseEventVirtualKeys-cardinal-TPoint-">SendMouseInput</a></strong>(aEventKind : <a href="uWVTypes.html#TWVMouseEventKind">TWVMouseEventKind</a>; aVirtualKeys : <a href="uWVTypes.html#TWVMouseEventVirtualKeys">TWVMouseEventVirtualKeys</a>; aMouseData : cardinal; aPoint : TPoint) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#SendPointerInput-TWVPointerEventKind-ICoreWebView2PointerInfo-">SendPointerInput</a></strong>(aEventKind : <a href="uWVTypes.html#TWVPointerEventKind">TWVPointerEventKind</a>; const aPointerInfo : <a href="uWVTypeLibrary.ICoreWebView2PointerInfo.html">ICoreWebView2PointerInfo</a>) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#DragEnter-IDataObject-LongWord-tagPOINT-LongWord-">DragEnter</a></strong>(const dataObject: IDataObject; keyState: LongWord; point: tagPOINT; out effect: LongWord) : HResult;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#DragLeave">DragLeave</a></strong>: HResult;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#DragOver-LongWord-tagPOINT-LongWord-">DragOver</a></strong>(keyState: LongWord; point: tagPOINT; out effect: LongWord) : HResult;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#Drop-IDataObject-LongWord-tagPOINT-LongWord-">Drop</a></strong>(const dataObject: IDataObject; keyState: LongWord; point: tagPOINT; out effect: LongWord) : HResult;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetNonClientRegionAtPoint-TPoint-">GetNonClientRegionAtPoint</a></strong>(point: TPoint) : <a href="uWVTypes.html#TWVNonClientRegionKind">TWVNonClientRegionKind</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#QueryNonClientRegion-TWVNonClientRegionKind-">QueryNonClientRegion</a></strong>(Kind: <a href="uWVTypes.html#TWVNonClientRegionKind">TWVNonClientRegionKind</a>): <a href="uWVTypeLibrary.ICoreWebView2RegionRectCollectionView.html">ICoreWebView2RegionRectCollectionView</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#Initialized">Initialized</a></strong>        : boolean                              read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#BaseIntf">BaseIntf</a></strong>           : <a href="uWVTypeLibrary.ICoreWebView2CompositionController.html">ICoreWebView2CompositionController</a>   read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#RootVisualTarget">RootVisualTarget</a></strong>   : IUnknown                             read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetRootVisualTarget">GetRootVisualTarget</a>     write <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#SetRootVisualTarget-IUnknown-">SetRootVisualTarget</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#Cursor">Cursor</a></strong>             : HCURSOR                              read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetCursor">GetCursor</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#SystemCursorID">SystemCursorID</a></strong>     : cardinal                             read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetSystemCursorID">GetSystemCursorID</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#AutomationProvider">AutomationProvider</a></strong> : IUnknown                             read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetAutomationProvider">GetAutomationProvider</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf"></span><code><strong>FBaseIntf</strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController.html">ICoreWebView2CompositionController</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf2"></span><code><strong>FBaseIntf2</strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController2.html">ICoreWebView2CompositionController2</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf3"></span><code><strong>FBaseIntf3</strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController3.html">ICoreWebView2CompositionController3</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf4"></span><code><strong>FBaseIntf4</strong>: <a href="uWVTypeLibrary.ICoreWebView2CompositionController4.html">ICoreWebView2CompositionController4</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FCursorChangedToken"></span><code><strong>FCursorChangedToken</strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FNonClientRegionChanged"></span><code><strong>FNonClientRegionChanged</strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetInitialized"></span><code>function <strong>GetInitialized</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetRootVisualTarget"></span><code>function <strong>GetRootVisualTarget</strong>: IUnknown;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetCursor"></span><code>function <strong>GetCursor</strong>: HCURSOR;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetSystemCursorID"></span><code>function <strong>GetSystemCursorID</strong>: cardinal;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetAutomationProvider"></span><code>function <strong>GetAutomationProvider</strong>: IUnknown;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetRootVisualTarget-IUnknown-"></span><code>procedure <strong>SetRootVisualTarget</strong>(const aValue : IUnknown);</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="InitializeFields"></span><code>procedure <strong>InitializeFields</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="InitializeTokens"></span><code>procedure <strong>InitializeTokens</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="RemoveAllEvents"></span><code>procedure <strong>RemoveAllEvents</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddCursorChangedEvent-TComponent-"></span><code>function <strong>AddCursorChangedEvent</strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddNonClientRegionChangedEvent-TComponent-"></span><code>function <strong>AddNonClientRegionChangedEvent</strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create-ICoreWebView2CompositionController-"></span><code>constructor <strong>Create</strong>(const aBaseIntf : <a href="uWVTypeLibrary.ICoreWebView2CompositionController.html">ICoreWebView2CompositionController</a>); reintroduce;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="AddAllBrowserEvents-TComponent-"></span><code>function <strong>AddAllBrowserEvents</strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Adds all the events of this class to an existing TWVBrowserBase instance. </p>
<p>
 </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aBrowserComponent</dt>
<dd>The TWVBrowserBase instance.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SendMouseInput-TWVMouseEventKind-TWVMouseEventVirtualKeys-cardinal-TPoint-"></span><code>function <strong>SendMouseInput</strong>(aEventKind : <a href="uWVTypes.html#TWVMouseEventKind">TWVMouseEventKind</a>; aVirtualKeys : <a href="uWVTypes.html#TWVMouseEventVirtualKeys">TWVMouseEventVirtualKeys</a>; aMouseData : cardinal; aPoint : TPoint) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 If eventKind is COREWEBVIEW2_MOUSE_EVENT_KIND_HORIZONTAL_WHEEL or COREWEBVIEW2_MOUSE_EVENT_KIND_WHEEL, then mouseData specifies the amount of wheel movement. A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120. If eventKind is COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_DOUBLE_CLICK COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_DOWN, or COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_UP, then mouseData specifies which X buttons were pressed or released. This value should be 1 if the first X button is pressed/released and 2 if the second X button is pressed/released. If eventKind is COREWEBVIEW2_MOUSE_EVENT_KIND_LEAVE, then virtualKeys, mouseData, and point should all be zero. If eventKind is any other value, then mouseData should be zero. Point is expected to be in the client coordinate space of the WebView. To track mouse events that start in the WebView and can potentially move outside of the WebView and host application, calling SetCapture and ReleaseCapture is recommended. To dismiss hover popups, it is also recommended to send COREWEBVIEW2_MOUSE_EVENT_KIND_LEAVE messages. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SendPointerInput-TWVPointerEventKind-ICoreWebView2PointerInfo-"></span><code>function <strong>SendPointerInput</strong>(aEventKind : <a href="uWVTypes.html#TWVPointerEventKind">TWVPointerEventKind</a>; const aPointerInfo : <a href="uWVTypeLibrary.ICoreWebView2PointerInfo.html">ICoreWebView2PointerInfo</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 SendPointerInput accepts touch or pen pointer input of types defined in COREWEBVIEW2_POINTER_EVENT_KIND. Any pointer input from the system must be converted into an ICoreWebView2PointerInfo first. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="DragEnter-IDataObject-LongWord-tagPOINT-LongWord-"></span><code>function <strong>DragEnter</strong>(const dataObject: IDataObject; keyState: LongWord; point: tagPOINT; out effect: LongWord) : HResult;</code></td>
</tr>
<tr><td colspan="2">
<p>
 This function corresponds to [IDropTarget::DragEnter](/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragenter).

<p>This function has a dependency on AllowExternalDrop property of CoreWebView2Controller and return E_FAIL to callers to indicate this operation is not allowed if AllowExternalDrop property is set to false.

<p>The hosting application must register as an IDropTarget and implement and forward DragEnter calls to this function.

<p>point parameter must be modified to include the WebView's offset and be in the WebView's client coordinates (Similar to how SendMouseInput works). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="DragLeave"></span><code>function <strong>DragLeave</strong>: HResult;</code></td>
</tr>
<tr><td colspan="2">
<p>
 This function corresponds to [IDropTarget::DragLeave](/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragleave).

<p>This function has a dependency on AllowExternalDrop property of CoreWebView2Controller and return E_FAIL to callers to indicate this operation is not allowed if AllowExternalDrop property is set to false.

<p>The hosting application must register as an IDropTarget and implement and forward DragLeave calls to this function. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="DragOver-LongWord-tagPOINT-LongWord-"></span><code>function <strong>DragOver</strong>(keyState: LongWord; point: tagPOINT; out effect: LongWord) : HResult;</code></td>
</tr>
<tr><td colspan="2">
<p>
 This function corresponds to [IDropTarget::DragOver](/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragover).

<p>This function has a dependency on AllowExternalDrop property of CoreWebView2Controller and return E_FAIL to callers to indicate this operation is not allowed if AllowExternalDrop property is set to false.

<p>The hosting application must register as an IDropTarget and implement and forward DragOver calls to this function.

<p>point parameter must be modified to include the WebView's offset and be in the WebView's client coordinates (Similar to how SendMouseInput works). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Drop-IDataObject-LongWord-tagPOINT-LongWord-"></span><code>function <strong>Drop</strong>(const dataObject: IDataObject; keyState: LongWord; point: tagPOINT; out effect: LongWord) : HResult;</code></td>
</tr>
<tr><td colspan="2">
<p>
 This function corresponds to [IDropTarget::Drop](/windows/win32/api/oleidl/nf-oleidl-idroptarget-drop).

<p>This function has a dependency on AllowExternalDrop property of CoreWebView2Controller and return E_FAIL to callers to indicate this operation is not allowed if AllowExternalDrop property is set to false.

<p>The hosting application must register as an IDropTarget and implement and forward Drop calls to this function.

<p>point parameter must be modified to include the WebView's offset and be in the WebView's client coordinates (Similar to how SendMouseInput works). </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="GetNonClientRegionAtPoint-TPoint-"></span><code>function <strong>GetNonClientRegionAtPoint</strong>(point: TPoint) : <a href="uWVTypes.html#TWVNonClientRegionKind">TWVNonClientRegionKind</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 If you are hosting a WebView2 using CoreWebView2CompositionController, you can call this method in your Win32 WndProc to determine if the mouse is moving over or clicking on WebView2 web content that should be considered part of a non-client region. The point parameter is expected to be in the client coordinate space of WebView2. The method sets the out parameter value as follows: - COREWEBVIEW2_NON_CLIENT_REGION_KIND_CAPTION when point corresponds to a region (HTML element) within the WebView2 with `-webkit-app-region: drag` CSS style set. - COREWEBVIEW2_NON_CLIENT_REGION_KIND_CLIENT when point corresponds to a region (HTML element) within the WebView2 without `-webkit-app-region: drag` CSS style set. - COREWEBVIEW2_NON_CLIENT_REGION_KIND_NOWHERE when point is not within the WebView2.

<p>NOTE: in order for WebView2 to properly handle the title bar system menu, the app needs to send WM_NCRBUTTONDOWN and WM_NCRBUTTONUP to SendMouseInput. See sample code below. \snippet ViewComponent.cpp DraggableRegions2

<p>\snippet ViewComponent.cpp DraggableRegions1 </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="QueryNonClientRegion-TWVNonClientRegionKind-"></span><code>function <strong>QueryNonClientRegion</strong>(Kind: <a href="uWVTypes.html#TWVNonClientRegionKind">TWVNonClientRegionKind</a>): <a href="uWVTypeLibrary.ICoreWebView2RegionRectCollectionView.html">ICoreWebView2RegionRectCollectionView</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 This method is used to get the collection of rects that correspond to a particular COREWEBVIEW2_NON_CLIENT_REGION_KIND. This is to be used in the callback of add_NonClientRegionChanged whose event args object contains a region property of type COREWEBVIEW2_NON_CLIENT_REGION_KIND.

<p>\snippet ScenarioNonClientRegionSupport.cpp AddChangeListener </p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Initialized"></span><code>property <strong>Initialized</strong>        : boolean                              read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns true when the interface implemented by this class is fully initialized. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="BaseIntf"></span><code>property <strong>BaseIntf</strong>           : <a href="uWVTypeLibrary.ICoreWebView2CompositionController.html">ICoreWebView2CompositionController</a>   read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the interface implemented by this class. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="RootVisualTarget"></span><code>property <strong>RootVisualTarget</strong>   : IUnknown                             read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetRootVisualTarget">GetRootVisualTarget</a>     write <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#SetRootVisualTarget-IUnknown-">SetRootVisualTarget</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The RootVisualTarget is a visual in the hosting app's visual tree. This visual is where the WebView will connect its visual tree. The app uses this visual to position the WebView within the app. The app still needs to use the Bounds property to size the WebView. The RootVisualTarget property can be an IDCompositionVisual or a Windows::UI::Composition::ContainerVisual. WebView will connect its visual tree to the provided visual before returning from the property setter. The app needs to commit on its device setting the RootVisualTarget property. The RootVisualTarget property supports being set to nullptr to disconnect the WebView from the app's visual tree. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_rootvisualtarget">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_rootvisualtarget</a>&quot;&gt;See the ICoreWebView2CompositionController article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Cursor"></span><code>property <strong>Cursor</strong>             : HCURSOR                              read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetCursor">GetCursor</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The current cursor that WebView thinks it should be. The cursor should be set in WM_SETCURSOR through \::SetCursor or set on the corresponding parent/ancestor HWND of the WebView through \::SetClassLongPtr. The HCURSOR can be freed so CopyCursor/DestroyCursor is recommended to keep your own copy if you are doing more than immediately setting the cursor. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_cursor">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_cursor</a>&quot;&gt;See the ICoreWebView2CompositionController article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SystemCursorID"></span><code>property <strong>SystemCursorID</strong>     : cardinal                             read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetSystemCursorID">GetSystemCursorID</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The current system cursor ID reported by the underlying rendering engine for WebView. For example, most of the time, when the cursor is over text, this will return the int value for IDC_IBEAM. The systemCursorId is only valid if the rendering engine reports a default Windows cursor resource value. Navigate to [LoadCursorW](/windows/win32/api/winuser/nf-winuser-loadcursorw) for more details. Otherwise, if custom CSS cursors are being used, this will return 0. To actually use systemCursorId in LoadCursor or LoadImage, MAKEINTRESOURCE must be called on it first. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_systemcursorid">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller#get_systemcursorid</a>&quot;&gt;See the ICoreWebView2CompositionController article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="AutomationProvider"></span><code>property <strong>AutomationProvider</strong> : IUnknown                             read <a href="uWVCoreWebView2CompositionController.TCoreWebView2CompositionController.html#GetAutomationProvider">GetAutomationProvider</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the Automation Provider for the WebView. This object implements IRawElementProviderSimple. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller2#get_automationprovider">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2compositioncontroller2#get_automationprovider</a>&quot;&gt;See the ICoreWebView2CompositionController2 article.)</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
